<?php

class role_filter extends \swap\before_filter {
    
    /**
     * user
     * array('role' => 'user', 'method' => 'redirect_to', 'target' => 'xxx/yyy')
     */
    public static function run($context) {
        $role = $context['role'];
        
        
    }
    
}